package com.allen.admin.service.common.service;

import java.util.List;

import com.allen.admin.service.common.domain.AdminRolePerm;
import com.xxx.config.ModelResult;
import org.apache.commons.lang3.tuple.ImmutablePair;

public interface AdminRolePermService {

	ModelResult<List<AdminRolePerm>> query(Integer roleId);
	
	ModelResult<List<String>> queryCodes(List<Integer> roleIds);

	ImmutablePair<Boolean, String> auth(Integer roleId, List<String> perms);

}
